package com.iotechn.unimall.data.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode()
public class GoodsStatisticsDTO {

    private Long spuId;

    private String spuTitle;

    private Long skuId;

    private String skuTitle;

    @EqualsAndHashCode.Exclude
    private Integer num;

    /**
     * 总金额 （totalPrice = confirmPrice + refundPrice）
     */
    @EqualsAndHashCode.Exclude
    private Integer totalPrice;

    /**
     * 实销金额
     */
    @EqualsAndHashCode.Exclude
    private Integer confirmPrice;

    /**
     * 退款金额
     */
    @EqualsAndHashCode.Exclude
    private Integer refundPrice;

}
